<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <div id="app">hi app</div>
    <script src="./vue.js"></script>
    <script>
      // replaceWith()
      // outerHTML()
      const vm = new Vue({
        // 配置项 数据
        data: {
          title: "hello",
        },
        el: "#app", // 选中 id="app" 的节点，id选择器
        template: `<h1>hello App ${1 + 1} , {{1+2}}</h1>`,
      });
    </script>
  </body>
</html>
